#ifndef _GEN_OPT_H_
#define _GEN_OPT_H_

#include <QString>
#include <QStringList>
#include <stdint.h>

class CGenOpt {
public:
  CGenOpt();
  ~CGenOpt();

public:
  static QString DoubleToHexString(double data);
  static double HexStringToDouble(QString str);
  static QString GetRadarFileName(QString video_name);
  static QString GetFileNameFromPath(QString path);
  static uint32_t SearchAllFileInPath(QString path, QStringList &file_list);
  static QString GetExePath();
  static int QStringToChar(QString str, char *buf, uint32_t buf_len);

};

#endif